(ange-ftp-name-format): Allow USER to contain
authorEli Zaretskii <eliz@is.elta.co.il>
Mon, 29 Dec 2003 13:20:26 +0000 (13:20 +0000)
committerEli Zaretskii <eliz@is.elta.co.il>
Mon, 29 Dec 2003 13:20:26 +0000 (13:20 +0000)
"@", as required by some ISP hosting service.  Fix defcustom
argument syntax errors that prevented use of customization.

lisp/net/ange-ftp.el

index b96e7f1a2984658a2c519378e5dd6c59afb2aaa2..dc3b5a62da94b29e6a8b542beda454fa71bcae6b 100644 (file)
   :prefix "ange-ftp-")
 
 (defcustom ange-ftp-name-format
-  '("^/\\(\\([^@/:]*\\)@\\)?\\([^@/:]*[^@/:.]\\):\\(.*\\)" . (3 2 4))
+  '("^/\\(\\([^/:]*\\)@\\)?\\([^@/:]*[^@/:.]\\):\\(.*\\)" . (3 2 4))
   "*Format of a fully expanded remote file name.
 
 This is a list of the form \(REGEXP HOST USER NAME\),
@@ -694,7 +694,7 @@ where REGEXP is a regular expression matching
 the full remote name, and HOST, USER, and NAME are the numbers of
 parenthesized expressions in REGEXP for the components (in that order)."
   :group 'ange-ftp
-  :type '(list regexp
+  :type '(list (regexp  :tag "Name regexp")
               (integer :tag "Host group")
               (integer :tag "User group")
               (integer :tag "Name group")))